﻿using System.Runtime.Serialization;
using LiveTissWCF.Data;

namespace LiveTissWCF.TreeView
{
    [KnownType(typeof(TreeViewNodeLote))]
    [KnownType(typeof(TreeViewNodeFaturamento))]
    [KnownType(typeof(TreeViewNodeSolicitacao))]
    [DataContract(Name = "TreeViewNode", Namespace = "LiveTissWCF.TreeView")]
    public class TreeViewNode
    {
        [DataMember]
        public string RegistroANS { get; set; }

        [DataMember]
        public string Rotulo { set; get; }

        [DataMember]
        public TipoGuia Tipo { set; get; }

    }
}